package com.example.lottery_system.service;

import com.example.lottery_system.service.dto.UserListDto;
import com.example.lottery_system.service.dto.UserRegisterDto;
import com.example.lottery_system.controller.param.UserLoginParam;
import com.example.lottery_system.controller.param.UserRegisterParam;
import com.example.lottery_system.controller.result.UserLoginResult;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface UserService {
    UserRegisterDto register(UserRegisterParam param);

    UserLoginResult login(UserLoginParam param);


    List<UserListDto> getUserDtoList(String identity);

    Boolean deleteUser(Long userId);
}
